package com.my.ruyi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Controller
@RequestMapping("/page")
@Api(value = "画面控制器", description = "控制画面的控制器")
public class PageController {
	
	@ApiOperation(value = "添加任务画面")
	@RequestMapping("/add_job")
	public String addJob() {
		return "add_job";
	}
	
	@ApiOperation(value = "任务列表画面")
	@RequestMapping("/job_list")
	public String listJob() {
		return "job_list";
	}
	
	@ApiOperation(value = "添加触发器画面")
	@RequestMapping("/add_trigger")
	public String addTrigger() {
		return "add_trigger";
	}
	
	@ApiOperation(value = "触发器列表画面")
	@RequestMapping("/trigger_list")
	public String listTrigger() {
		return "trigger_list";
	}
	
}
